package com.ship.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class DeptSearchDto extends BaseDto{

    @Pattern(regexp = ".{0,20}")
    private String name;

    @Pattern(regexp = ".{0,30}")
    private String loc;
}
